package com.fyy.async.controller;

import com.fyy.async.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author fyy
 * @Description
 * @Date 2020/6/28 8:26
 */
@RestController
public class IndexController {

    @Autowired
    private IUserService userService;

    @GetMapping("/")
    public void index(){
        System.out.println("**********************       1");

        userService.sendSms();

        System.out.println("**********************       4");
    }


}
